package com.qsqya.caf.service.order.dubbo;

import com.qsqya.caf.facade.account.FacadeAccount;
import com.qsqya.caf.facade.order.FacadeOrder;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class ServiceOrder implements FacadeOrder {

    @DubboReference(check = false)
    private FacadeAccount facadeAccount;

    @Override
    public void sayOrder() {
        facadeAccount.sayHello();
        System.out.println("order");
    }
}
